package cn.yunhe.action;

import java.util.List;

import cn.yunhe.biz.EmpBiz;
import cn.yunhe.model.Emp;

public class AllAction extends BaseAction {

	private EmpBiz empBiz;

	public String execute(){
		List<Emp> list=empBiz.seacherAllEmp();
		getSession().setAttribute("list", list);
		
		return SUCCESS;
	}
	
	
	
	
	public EmpBiz getEmpBiz() {
		return empBiz;
	}

	public void setEmpBiz(EmpBiz empBiz) {
		this.empBiz = empBiz;
	}
	
}
